package com.exam.demo.service;

import com.exam.demo.pojo.Test;

import java.util.Date;
import java.util.List;

public interface ExamService {
    int addTest(Test test);
    int deleteTest(int tstNo);
    int editTest(Test test);
    Test queryTest(int tstNo);
    List<Test> queryTestByName(String name);
    List<Test> queryTestByDif(String dif);
    List<Test> queryTestByType(String type);
    List<Test> queryTestByTime(Date date1, Date date2);
    List<Test> queryAllTest();
}
